import os
import json
from common.path_tool import BASE_DIR

def get_jsonData():
    # pt = os.path.abspath(os.path.join(os.getcwd(),".."))
    with open(BASE_DIR+"\\data\\ihrm_login.json","r",encoding="utf-8") as f:
        data = json.load(f)
    data_new = []
    for i in data:
        data_new.append(i.values())
    print(data_new,type(data_new))
    # print(os.getcwd())
    return data_new

if __name__ == '__main__':
    get_jsonData()
